/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package system;

/**
 *
 * @author Dhruv
 */

//class holds metadata for one e-mail
public class EmailMetadata {
    //e-mail metadata
    private String datetime, subtree, sender, receiver, cc, title, body;
    
    //constructor
    public EmailMetadata(String datetime, String subtree, String sender,
            String receiver, String cc, String title, String body){
        this.datetime = datetime;
        this.subtree = subtree;
        this.sender = sender;
        this.receiver = receiver;
        this.cc = cc;
        this.title = title;
        this.body = body;
    }

    //BEGIN: getter and setter methods for each metadata value
    public String getDatetime(){
        return this.datetime;
    }

    public String getSubtree(){
        return this.subtree;
    }

    public void setSubtree(String subtree){
        this.subtree = subtree;
    }

    public String getSender(){
        return this.sender;
    }

    public String getReceiver(){
        return this.receiver;
    }

    public String getCC(){
        return this.cc;
    }

    public String getTitle(){
        return this.title;
    }

    public String getBody(){
        return this.body;
    }
    //END: getter and setter methods for each metadata value
}
